//
//  DEHomeSaying.m
//  DeDao
//
//  Created by PEIYANG on 16/9/26.
//  Copyright © 2016年 YP. All rights reserved.
//

#import "DEHomeSaying.h"
#import "UILabel+Extension.h"
@interface DEHomeSaying ()
@property (weak, nonatomic) IBOutlet UILabel *textLabel;
@property (weak, nonatomic) IBOutlet UIButton *checkMore;
@property (weak, nonatomic) IBOutlet UIButton *repost;
@property (weak, nonatomic) IBOutlet UIButton *support;

@end
@implementation DEHomeSaying

+ (instancetype)sayingView{
     return[[[NSBundle mainBundle]loadNibNamed:@"DEHomeSaying" owner:nil options:nil] lastObject];
}

- (IBAction)cheakMoreBtn:(id)sender {
    NSLog(@"点击了加载更多按钮");
}

- (void)awakeFromNib{
    self.autoresizingMask = UIViewAutoresizingNone;
    //设置文字行间距
    [_textLabel setLineSpaces:5 stringLabel:_textLabel];
    [_checkMore setContentHorizontalAlignment:UIControlContentHorizontalAlignmentRight];
}
@end
